package com.bdm.property.management.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * @Author: MAD4O
 * @Date: 2020/8/22 15:52
 * @Description: 
 */
@Data
@TableName(value = "`admin`")
public class Admin implements Serializable {
    /**
     * 管理员信息表编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 管理员账号
     */
    @TableField(value = "username")
    private String username;

    /**
     * 管理员密码
     */
    @TableField(value = "password")
    private String password;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_USERNAME = "username";

    public static final String COL_PASSWORD = "password";
}